package concurrent.executors;

import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ThreadFactory;

public class ScheduledThreadPoolTest {

  //线程池
  private ScheduledExecutorService mThreadPool;

  public ScheduledThreadPoolTest() {
    mThreadPool = Executors.newScheduledThreadPool(8, new ThreadFactory() {
      @Override
      public Thread newThread(Runnable r) {
        return null;
      }
    });
  }
}
